package multithread;

public class TickerThreadTest {


    public static void main(String[] args) {
        Runnable t = new TicketRunnable();
        Thread t1 = new Thread(t,"第1售票窗口");
        Thread t2 = new Thread(t,"第2售票窗口");
        Thread t3 = new Thread(t,"第3售票窗口");
        t1.start();
        t2.start();
        t3.start();



    }



}
